package com.honglv.constant;

/**
 * 信息提示常量类
 */
public class MessageConstant {

    public static final String PASSWORD_ERROR = "密码错误";
    public static final String ACCOUNT_NOT_FOUND = "账号不存在";
    public static final String UNKNOWN_ERROR = "未知错误";
    public static final String USER_NOT_LOGIN = "用户未登录";
    public static final String LOGIN_FAILED = "登录失败";
    public static final String UPLOAD_FAILED = "文件上传失败";
    public static final String PASSWORD_EDIT_FAILED = "密码修改失败";
    public static final String REGISTER_FAILED = "注册失败";
    public static final String USER_EXITED = "注册失败,该用户已存在，请手动返回登录或找回密码";
    public static final String LOGIN_CODE_KEY = "login:code:";
    public static final String LOGIN_USER_KEY = "login:token:";
    public static final String REGISTER_CODE_KEY = "register:code:";
    public static final String UPDATEPASSWORD_CODE_KEY = "updatepassworld:code:";
    public static final Long CODE_TTL = 2L;



}
